package com.kecheng.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 课程表
 */
public class Kecheng {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String kcname;

    private String kcms;

    private String kcxs;

    private String kcxf;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date ctime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getKcname() {
        return kcname;
    }

    public void setKcname(String kcname) {
        this.kcname = kcname;
    }

    public String getKcms() {
        return kcms;
    }

    public void setKcms(String kcms) {
        this.kcms = kcms;
    }

    public String getKcxs() {
        return kcxs;
    }

    public void setKcxs(String kcxs) {
        this.kcxs = kcxs;
    }

    public String getKcxf() {
        return kcxf;
    }

    public void setKcxf(String kcxf) {
        this.kcxf = kcxf;
    }

    public Date getCtime() {
        return ctime;
    }

    public void setCtime(Date ctime) {
        this.ctime = ctime;
    }


}
